<?php
if(!isset(Yii::app()->user->id)|| (isset(Yii::app()->user->id)&&Yii::app()->user->id!=15))
{
   // $this->redirect(Yii::app()->request->baseUrl);
}
?>

<div class="form">
	<form action="" method="post">
	<?php if(isset($news_detail)):?>
	<?php
	echo  '<h2>Detail News</h2><br/>';
	echo '<div id="titlewrap"><input class="specialTitle" name="txtTitle" tabindex="1" type="text" value="'.$news_detail['title'].'"></input><div><br/>';
	echo '<textarea class="ckeditor" id="textarea_editor" name="textarea_id">'. $news_detail['content'] .'</textarea>';
	?><br/>
	<center>
		<input class='button active' type="submit" name='btn_changerule' value='Save Change'></input>
	</center>
	<?php endif;?>
	</form>
</div>
